package com.ruoyi.develop.projectOrderInfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目采购信息管理对象 project_order_info
 *
 * @author qh
 * @date 2023-01-10
 */
public class ProjectOrderInfo extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品品牌 */
    @Excel(name = "商品品牌")
    private String brand;

    /** 商品单价 */
    @Excel(name = "商品单价")
    private BigDecimal unitCost;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private Integer count;

    /** 商品单位 */
    @Excel(name = "商品单位")
    private String unit;

    /** 采购总价 */
    @Excel(name = "采购总价")
    private BigDecimal totleCost;

    /** 采购人 */
    @Excel(name = "采购人")
    private String buyId;

    /** 采购人 */
    @Excel(name = "采购人")
    private String buyName;

    /** 采购日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "采购日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buyDate;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 价格是否含税(0:不含;  1:包含) */
    @Excel(name = "价格是否含税(0:不含;  1:包含)")
    private String taxFlag;

    /** 含税总价 */
    @Excel(name = "含税总价")
    private BigDecimal taxTotleCost;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String infomation;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setBrand(String brand)
            {
            this.brand = brand;
            }

    public String getBrand()
            {
            return brand;
            }
    public void setUnitCost(BigDecimal unitCost)
            {
            this.unitCost = unitCost;
            }

    public BigDecimal getUnitCost()
            {
            return unitCost;
            }
    public void setCount(Integer count)
            {
            this.count = count;
            }

    public Integer getCount()
            {
            return count;
            }
    public void setUnit(String unit)
            {
            this.unit = unit;
            }

    public String getUnit()
            {
            return unit;
            }
    public void setTotleCost(BigDecimal totleCost)
            {
            this.totleCost = totleCost;
            }

    public BigDecimal getTotleCost()
            {
            return totleCost;
            }
    public void setBuyId(String buyId)
            {
            this.buyId = buyId;
            }

    public String getBuyId()
            {
            return buyId;
            }
    public void setBuyName(String buyName)
            {
            this.buyName = buyName;
            }

    public String getBuyName()
            {
            return buyName;
            }
    public void setBuyDate(Date buyDate)
            {
            this.buyDate = buyDate;
            }

    public Date getBuyDate()
            {
            return buyDate;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setProjectName(String projectName)
            {
            this.projectName = projectName;
            }

    public String getProjectName()
            {
            return projectName;
            }
    public void setTaxFlag(String taxFlag)
            {
            this.taxFlag = taxFlag;
            }

    public String getTaxFlag()
            {
            return taxFlag;
            }
    public void setTaxTotleCost(BigDecimal taxTotleCost)
            {
            this.taxTotleCost = taxTotleCost;
            }

    public BigDecimal getTaxTotleCost()
            {
            return taxTotleCost;
            }

    public String getInfomation() {
        return infomation;
    }

    public void setInfomation(String infomation) {
        this.infomation = infomation;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("name",getName())
            .append("brand",getBrand())
            .append("unitCost",getUnitCost())
            .append("count",getCount())
            .append("unit",getUnit())
            .append("totleCost",getTotleCost())
            .append("buyId",getBuyId())
            .append("buyName",getBuyName())
            .append("buyDate",getBuyDate())
            .append("projectId",getProjectId())
            .append("projectName",getProjectName())
            .append("taxFlag",getTaxFlag())
            .append("taxTotleCost",getTaxTotleCost())
        .toString();
    }
}
